/*
 Navicat Premium Data Transfer

 Source Server         : local
 Source Server Type    : MySQL
 Source Server Version : 50731
 Source Host           : localhost:3306
 Source Schema         : ddk

 Target Server Type    : MySQL
 Target Server Version : 50731
 File Encoding         : 65001

 Date: 14/01/2023 17:31:10
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ddk_app
-- ----------------------------
DROP TABLE IF EXISTS `ddk_app`;
CREATE TABLE `ddk_app` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  `app_id` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '项目id，全局唯一',
  `app_name` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '项目名字',
  `team_uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '项目组关联uuid',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_app
-- ----------------------------
BEGIN;
INSERT INTO `ddk_app` VALUES (1, 'CFG1611919771829014528', '华东电商交易核心-or.huadong.java.trade.core', '2023-01-08 02:56:36', '2023-01-08 03:01:28', 0, 'test', 'or.huadong.java.trade.core', '华东电商交易核心', 'CFG1611909603812188160');
INSERT INTO `ddk_app` VALUES (2, 'CFG1611921682779361280', '华东电商退订核心-or.huadong.java.refund.core', '2023-01-08 03:04:12', '2023-01-08 03:04:12', 0, 'test', 'or.huadong.java.refund.core', '华东电商退订核心', 'CFG1611909603812188160');
INSERT INTO `ddk_app` VALUES (3, 'CFG1611922498743197696', '华东电商订单核心-or.huadong.java.order.core', '2023-01-08 03:07:26', '2023-01-08 04:17:49', 0, 'test', 'or.huadong.java.order.core', '华东电商订单核心', 'CFG1611909603812188160');
COMMIT;

-- ----------------------------
-- Table structure for ddk_app_config
-- ----------------------------
DROP TABLE IF EXISTS `ddk_app_config`;
CREATE TABLE `ddk_app_config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  `app_config_name` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '配置名称',
  `app_config_value` varchar(200) COLLATE utf8mb4_bin NOT NULL COMMENT '配置值,',
  `app_config_type` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '配置类型',
  `app_uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '项目关联uuid',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_app_config
-- ----------------------------
BEGIN;
INSERT INTO `ddk_app_config` VALUES (1, 'CFG1611931155744034816', '百度链接(https://www.baidu.com/)', '2023-01-08 03:41:50', '2023-01-14 15:51:18', 0, 'test', 'baidu.url', 'https://www.baidu.com/hellokitty', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (2, 'CFG1614170031217606656', '百度链接(https://www.baidu.com/)', '2023-01-14 15:58:20', '2023-01-14 15:58:20', 0, 'test', 'baidu.url.Long', '1000', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (3, 'CFG1614178547985965056', 'test.string', '2023-01-14 16:32:10', '2023-01-14 16:32:10', 0, 'test', 'test.string', 'test.string', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (4, 'CFG1614178603984117760', 'test.long', '2023-01-14 16:32:24', '2023-01-14 16:32:24', 0, 'test', 'test.long', '111111', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (5, 'CFG1614178657448910848', 'test.int', '2023-01-14 16:32:37', '2023-01-14 16:32:37', 0, 'test', 'test.int', '123', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (6, 'CFG1614178714822795264', 'test.double', '2023-01-14 16:32:50', '2023-01-14 16:32:50', 0, 'test', 'test.double', '123.123', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (7, 'CFG1614178771999547392', 'test.float', '2023-01-14 16:33:04', '2023-01-14 16:47:36', 0, 'test', 'test.float', '1223', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (8, 'CFG1614178826311589888', 'test.boolean', '2023-01-14 16:33:17', '2023-01-14 16:33:17', 0, 'test', 'test.boolean', 'true', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (9, 'CFG1614178886529212416', 'test.char', '2023-01-14 16:33:31', '2023-01-14 16:33:31', 0, 'test', 'test.char', 't', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (10, 'CFG1614178946168020992', 'test.short', '2023-01-14 16:33:45', '2023-01-14 16:33:45', 0, 'test', 'test.short', '3', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (11, 'CFG1614179009921441792', 'test.byte', '2023-01-14 16:34:01', '2023-01-14 16:49:00', 0, 'test', 'test.byte', '10', 'DEFAULT_SPRING', 'CFG1611919771829014528');
INSERT INTO `ddk_app_config` VALUES (12, 'CFG1614179083455979520', 'test.bigDecimal', '2023-01-14 16:34:18', '2023-01-14 16:51:36', 0, 'test', 'test.bigDecimal', '11212200.100001111111111', 'DEFAULT_SPRING', 'CFG1611919771829014528');
COMMIT;

-- ----------------------------
-- Table structure for ddk_group
-- ----------------------------
DROP TABLE IF EXISTS `ddk_group`;
CREATE TABLE `ddk_group` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `group_id` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '事业群组id，唯一',
  `group_name` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '组名字',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_group
-- ----------------------------
BEGIN;
INSERT INTO `ddk_group` VALUES (1, 'OR-Alpha', '国内电商华东研究部', 'CFG1611737030814208000', '国内电商华东研究部', '2023-01-07 14:50:27', '2023-01-07 15:51:13', 0, 'test');
INSERT INTO `ddk_group` VALUES (2, 'OR-Beta', '国内电商华北研究部', 'CFG1611745105168592896', '国内电商华北研究部', '2023-01-07 15:22:33', '2023-01-08 01:10:50', 0, 'test');
COMMIT;

-- ----------------------------
-- Table structure for ddk_lock
-- ----------------------------
DROP TABLE IF EXISTS `ddk_lock`;
CREATE TABLE `ddk_lock` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `resource` varchar(200) NOT NULL COMMENT '锁定的资源',
  `desc` varchar(200) NOT NULL DEFAULT '' COMMENT '描述',
  `env` varchar(16) NOT NULL COMMENT '环境',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uiq_idx_resource` (`resource`)
) ENGINE=InnoDB AUTO_INCREMENT=667 DEFAULT CHARSET=utf8mb4 COMMENT='数据库分布式锁表';

-- ----------------------------
-- Records of ddk_lock
-- ----------------------------
BEGIN;
INSERT INTO `ddk_lock` VALUES (622, 'or.huadong.java.order.core#10.179.31.236#12000#test', 'or.huadong.java.order.core#10.179.31.236#12000#test', 'test');
COMMIT;

-- ----------------------------
-- Table structure for ddk_log
-- ----------------------------
DROP TABLE IF EXISTS `ddk_log`;
CREATE TABLE `ddk_log` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `module` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '模块',
  `target_id` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '对象编号，取uuid',
  `operator_type` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '操作类型',
  `content` text COLLATE utf8mb4_bin NOT NULL COMMENT '操作数据',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '操作环境',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_log
-- ----------------------------
BEGIN;
INSERT INTO `ddk_log` VALUES (1, 'DDK_GROUP', 'CFG1611737030814208000', 'UPDATE', '{\"isDelete\":1,\"groupId\":\"OR-Alpha\",\"updateTime\":1673106174147,\"env\":\"test\",\"uuid\":\"CFG1611737030814208000\",\"groupName\":\"国内电商华东研究部\",\"createTime\":1673103027000,\"id\":1,\"desc\":\"国内电商华东研究部\"}', '2023-01-07 15:42:54', 'test');
INSERT INTO `ddk_log` VALUES (2, 'DDK_GROUP', 'CFG1611737030814208000', 'UPDATE', '{\"isDelete\":0,\"groupId\":\"OR-Alpha\",\"updateTime\":1673106672921,\"env\":\"test\",\"uuid\":\"CFG1611737030814208000\",\"groupName\":\"国内电商华东研究部\",\"createTime\":1673103027000,\"id\":1,\"desc\":\"国内电商华东研究部\"}', '2023-01-07 15:51:13', 'test');
INSERT INTO `ddk_log` VALUES (3, 'DDK_GROUP', 'CFG1611745105168592896', 'UPDATE', '{\"isDelete\":1,\"groupId\":\"OR-Beta\",\"updateTime\":1673140247839,\"env\":\"test\",\"uuid\":\"CFG1611745105168592896\",\"groupName\":\"国内电商华北研究部\",\"createTime\":1673104953000,\"id\":2,\"desc\":\"国内电商华北研究部\"}', '2023-01-08 01:10:48', 'test');
INSERT INTO `ddk_log` VALUES (4, 'DDK_GROUP', 'CFG1611745105168592896', 'UPDATE', '{\"isDelete\":0,\"groupId\":\"OR-Beta\",\"updateTime\":1673140249730,\"env\":\"test\",\"uuid\":\"CFG1611745105168592896\",\"groupName\":\"国内电商华北研究部\",\"createTime\":1673104953000,\"id\":2,\"desc\":\"国内电商华北研究部\"}', '2023-01-08 01:10:50', 'test');
INSERT INTO `ddk_log` VALUES (5, 'DDK_TEAM', 'CFG1611909603812188160', 'CREATE', '{\"teamName\":\"国内电商华东研究部订单组\",\"isDelete\":0,\"groupUuid\":\"CFG1611737030814208000\",\"updateTime\":1673144172038,\"env\":\"test\",\"uuid\":\"CFG1611909603812188160\",\"createTime\":1673144172038,\"teamId\":\"alpha-order\",\"desc\":\"国内电商华东研究部订单组\"}', '2023-01-08 02:16:12', 'test');
INSERT INTO `ddk_log` VALUES (6, 'DDK_TEAM', 'CFG1611909603812188160', 'UPDATE', '{\"teamName\":\"国内电商华东研究部订单组\",\"isDelete\":1,\"groupUuid\":\"CFG1611737030814208000\",\"updateTime\":1673144512556,\"env\":\"test\",\"uuid\":\"CFG1611909603812188160\",\"createTime\":1673144172000,\"teamId\":\"alpha-order\",\"id\":1,\"desc\":\"国内电商华东研究部订单组\"}', '2023-01-08 02:21:53', 'test');
INSERT INTO `ddk_log` VALUES (7, 'DDK_TEAM', 'CFG1611909603812188160', 'UPDATE', '{\"teamName\":\"国内电商华东研究部订单组\",\"isDelete\":0,\"groupUuid\":\"CFG1611737030814208000\",\"updateTime\":1673144518288,\"env\":\"test\",\"uuid\":\"CFG1611909603812188160\",\"createTime\":1673144172000,\"teamId\":\"alpha-order\",\"id\":1,\"desc\":\"国内电商华东研究部订单组\"}', '2023-01-08 02:21:58', 'test');
INSERT INTO `ddk_log` VALUES (8, 'DDK_APP', 'CFG1611919771829014528', 'CREATE', '{\"isDelete\":0,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146596282,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596282,\"appId\":\"or.huadong.java.trade.core\",\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 02:56:36', 'test');
INSERT INTO `ddk_log` VALUES (9, 'DDK_GROUP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":1,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146707981,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 02:58:28', 'test');
INSERT INTO `ddk_log` VALUES (10, 'DDK_GROUP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":0,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146710275,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 02:58:30', 'test');
INSERT INTO `ddk_log` VALUES (11, 'DDK_GROUP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":1,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146711859,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 02:58:32', 'test');
INSERT INTO `ddk_log` VALUES (12, 'DDK_GROUP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":0,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146713612,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 02:58:34', 'test');
INSERT INTO `ddk_log` VALUES (13, 'DDK_APP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":1,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146885936,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 03:01:26', 'test');
INSERT INTO `ddk_log` VALUES (14, 'DDK_APP', 'CFG1611919771829014528', 'UPDATE', '{\"isDelete\":0,\"appName\":\"华东电商交易核心\",\"updateTime\":1673146887758,\"env\":\"test\",\"uuid\":\"CFG1611919771829014528\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673146596000,\"appId\":\"or.huadong.java.trade.core\",\"id\":1,\"desc\":\"华东电商交易核心-or.huadong.java.trade.core\"}', '2023-01-08 03:01:28', 'test');
INSERT INTO `ddk_log` VALUES (15, 'DDK_APP', 'CFG1611921682779361280', 'CREATE', '{\"isDelete\":0,\"appName\":\"华东电商退订核心\",\"updateTime\":1673147051888,\"env\":\"test\",\"uuid\":\"CFG1611921682779361280\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673147051888,\"appId\":\"or.huadong.java.refund.core\",\"desc\":\"华东电商退订核心-or.huadong.java.refund.core\"}', '2023-01-08 03:04:12', 'test');
INSERT INTO `ddk_log` VALUES (16, 'DDK_APP', 'CFG1611922498743197696', 'CREATE', '{\"isDelete\":0,\"appName\":\"华东电商订单核心\",\"updateTime\":1673147246429,\"env\":\"test\",\"uuid\":\"CFG1611922498743197696\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673147246429,\"appId\":\"or.huadong.java.order.core\",\"desc\":\"华东电商订单核心-or.huadong.java.order.core\"}', '2023-01-08 03:07:26', 'test');
INSERT INTO `ddk_log` VALUES (17, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'CREATE', '{\"appConfigName\":\"百度链接\",\"isDelete\":0,\"updateTime\":1673149310419,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673149310419,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-08 03:41:50', 'test');
INSERT INTO `ddk_log` VALUES (18, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"百度链接\",\"isDelete\":1,\"updateTime\":1673149424058,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673149310000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-08 03:43:44', 'test');
INSERT INTO `ddk_log` VALUES (19, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"百度链接\",\"isDelete\":0,\"updateTime\":1673149426687,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673149310000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-08 03:43:47', 'test');
INSERT INTO `ddk_log` VALUES (20, 'DDK_APP', 'CFG1611922498743197696', 'UPDATE', '{\"isDelete\":1,\"appName\":\"华东电商订单核心\",\"updateTime\":1673151446956,\"env\":\"test\",\"uuid\":\"CFG1611922498743197696\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673147246000,\"appId\":\"or.huadong.java.order.core\",\"id\":3,\"desc\":\"华东电商订单核心-or.huadong.java.order.core\"}', '2023-01-08 04:17:27', 'test');
INSERT INTO `ddk_log` VALUES (21, 'DDK_APP', 'CFG1611922498743197696', 'UPDATE', '{\"isDelete\":0,\"appName\":\"华东电商订单核心\",\"updateTime\":1673151469206,\"env\":\"test\",\"uuid\":\"CFG1611922498743197696\",\"teamUuid\":\"CFG1611909603812188160\",\"createTime\":1673147246000,\"appId\":\"or.huadong.java.order.core\",\"id\":3,\"desc\":\"华东电商订单核心-or.huadong.java.order.core\"}', '2023-01-08 04:17:49', 'test');
INSERT INTO `ddk_log` VALUES (22, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673192606000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611919771829014528\"],\"createTime\":1673192274000,\"id\":1,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:45:42', 'test');
INSERT INTO `ddk_log` VALUES (23, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673192742000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611919771829014528\",\"CFG1611921682779361280\",\"CFG1611922498743197696\"],\"createTime\":1673192274000,\"id\":1,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:46:01', 'test');
INSERT INTO `ddk_log` VALUES (24, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673192761000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611921682779361280\",\"CFG1611922498743197696\"],\"createTime\":1673192274000,\"id\":1,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:46:34', 'test');
INSERT INTO `ddk_log` VALUES (25, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673192794000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611921682779361280\",\"CFG1611922498743197696\"],\"createTime\":1673192274000,\"id\":2,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:47:57', 'test');
INSERT INTO `ddk_log` VALUES (26, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673192794000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611921682779361280\",\"CFG1611922498743197696\"],\"createTime\":1673192274000,\"id\":2,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:50:17', 'test');
INSERT INTO `ddk_log` VALUES (27, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673193017000,\"env\":\"test\",\"uuid\":\"CFG1612111359650045952\",\"appUuid\":[\"CFG1611919771829014528\"],\"createTime\":1673192274000,\"id\":2,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"30\"}', '2023-01-08 15:50:39', 'test');
INSERT INTO `ddk_log` VALUES (28, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"baidu.url\",\"isDelete\":0,\"updateTime\":1673680937739,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673120510000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-14 15:22:18', 'test');
INSERT INTO `ddk_log` VALUES (29, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"baidu.url\",\"isDelete\":0,\"updateTime\":1673682571171,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/111/1111\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673120510000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-14 15:49:31', 'test');
INSERT INTO `ddk_log` VALUES (30, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"baidu.url\",\"isDelete\":0,\"updateTime\":1673682650891,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/111\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673120510000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-14 15:50:51', 'test');
INSERT INTO `ddk_log` VALUES (31, 'DDK_APP_CONFIG', 'CFG1611931155744034816', 'UPDATE', '{\"appConfigName\":\"baidu.url\",\"isDelete\":0,\"updateTime\":1673682677660,\"env\":\"test\",\"appConfigValue\":\"https://www.baidu.com/hellokitty\",\"uuid\":\"CFG1611931155744034816\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673120510000,\"id\":1,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-14 15:51:18', 'test');
INSERT INTO `ddk_log` VALUES (32, 'DDK_NOTICE_CONFIG', 'or.trade.core.timeout#limit', 'UPDATE', '{\"noticeConfigResource\":\"or.trade.core.timeout#limit\",\"isDelete\":0,\"updateTime\":1673164239000,\"env\":\"test\",\"uuid\":\"CFG1612114565242556416\",\"appUuid\":[\"CFG1611919771829014528\"],\"createTime\":1673164239000,\"id\":4,\"noticeConfigName\":\"订单支付超时时间基础配置\",\"desc\":\"订单支付超时时间基础配置，单位(分钟)\",\"noticeValue\":\"301\"}', '2023-01-14 15:54:47', 'test');
INSERT INTO `ddk_log` VALUES (33, 'DDK_APP_CONFIG', 'CFG1614170031217606656', 'CREATE', '{\"appConfigName\":\"baidu.url.Long\",\"isDelete\":0,\"updateTime\":1673683099928,\"env\":\"test\",\"appConfigValue\":\"1000\",\"uuid\":\"CFG1614170031217606656\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673683099928,\"desc\":\"百度链接(https://www.baidu.com/)\"}', '2023-01-14 15:58:20', 'test');
INSERT INTO `ddk_log` VALUES (34, 'DDK_APP_CONFIG', 'CFG1614178547985965056', 'CREATE', '{\"appConfigName\":\"test.string\",\"isDelete\":0,\"updateTime\":1673685130484,\"env\":\"test\",\"appConfigValue\":\"test.string\",\"uuid\":\"CFG1614178547985965056\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685130484,\"desc\":\"test.string\"}', '2023-01-14 16:32:10', 'test');
INSERT INTO `ddk_log` VALUES (35, 'DDK_APP_CONFIG', 'CFG1614178603984117760', 'CREATE', '{\"appConfigName\":\"test.long\",\"isDelete\":0,\"updateTime\":1673685143835,\"env\":\"test\",\"appConfigValue\":\"111111\",\"uuid\":\"CFG1614178603984117760\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685143835,\"desc\":\"test.long\"}', '2023-01-14 16:32:24', 'test');
INSERT INTO `ddk_log` VALUES (36, 'DDK_APP_CONFIG', 'CFG1614178657448910848', 'CREATE', '{\"appConfigName\":\"test.int\",\"isDelete\":0,\"updateTime\":1673685156582,\"env\":\"test\",\"appConfigValue\":\"123\",\"uuid\":\"CFG1614178657448910848\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685156582,\"desc\":\"test.int\"}', '2023-01-14 16:32:37', 'test');
INSERT INTO `ddk_log` VALUES (37, 'DDK_APP_CONFIG', 'CFG1614178714822795264', 'CREATE', '{\"appConfigName\":\"test.double\",\"isDelete\":0,\"updateTime\":1673685170261,\"env\":\"test\",\"appConfigValue\":\"123.123\",\"uuid\":\"CFG1614178714822795264\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685170261,\"desc\":\"test.double\"}', '2023-01-14 16:32:50', 'test');
INSERT INTO `ddk_log` VALUES (38, 'DDK_APP_CONFIG', 'CFG1614178771999547392', 'CREATE', '{\"appConfigName\":\"test.float\",\"isDelete\":0,\"updateTime\":1673685183893,\"env\":\"test\",\"appConfigValue\":\"1223.1231\",\"uuid\":\"CFG1614178771999547392\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685183893,\"desc\":\"test.float\"}', '2023-01-14 16:33:04', 'test');
INSERT INTO `ddk_log` VALUES (39, 'DDK_APP_CONFIG', 'CFG1614178826311589888', 'CREATE', '{\"appConfigName\":\"test.boolean\",\"isDelete\":0,\"updateTime\":1673685196842,\"env\":\"test\",\"appConfigValue\":\"true\",\"uuid\":\"CFG1614178826311589888\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685196842,\"desc\":\"test.boolean\"}', '2023-01-14 16:33:17', 'test');
INSERT INTO `ddk_log` VALUES (40, 'DDK_APP_CONFIG', 'CFG1614178886529212416', 'CREATE', '{\"appConfigName\":\"test.char\",\"isDelete\":0,\"updateTime\":1673685211199,\"env\":\"test\",\"appConfigValue\":\"t\",\"uuid\":\"CFG1614178886529212416\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685211199,\"desc\":\"test.char\"}', '2023-01-14 16:33:31', 'test');
INSERT INTO `ddk_log` VALUES (41, 'DDK_APP_CONFIG', 'CFG1614178946168020992', 'CREATE', '{\"appConfigName\":\"test.short\",\"isDelete\":0,\"updateTime\":1673685225418,\"env\":\"test\",\"appConfigValue\":\"3\",\"uuid\":\"CFG1614178946168020992\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685225418,\"desc\":\"test.short\"}', '2023-01-14 16:33:45', 'test');
INSERT INTO `ddk_log` VALUES (42, 'DDK_APP_CONFIG', 'CFG1614179009921441792', 'CREATE', '{\"appConfigName\":\"test.byte\",\"isDelete\":0,\"updateTime\":1673685240618,\"env\":\"test\",\"appConfigValue\":\"TX\",\"uuid\":\"CFG1614179009921441792\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685240618,\"desc\":\"test.byte\"}', '2023-01-14 16:34:01', 'test');
INSERT INTO `ddk_log` VALUES (43, 'DDK_APP_CONFIG', 'CFG1614179083455979520', 'CREATE', '{\"appConfigName\":\"test.bigDecimal\",\"isDelete\":0,\"updateTime\":1673685258150,\"env\":\"test\",\"appConfigValue\":\"100.10000111\",\"uuid\":\"CFG1614179083455979520\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685258150,\"desc\":\"test.bigDecimal\"}', '2023-01-14 16:34:18', 'test');
INSERT INTO `ddk_log` VALUES (44, 'DDK_APP_CONFIG', 'CFG1614178771999547392', 'UPDATE', '{\"appConfigName\":\"test.float\",\"isDelete\":0,\"updateTime\":1673685309202,\"env\":\"test\",\"appConfigValue\":\"1223\",\"uuid\":\"CFG1614178771999547392\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685184000,\"id\":7,\"desc\":\"test.float\"}', '2023-01-14 16:35:09', 'test');
INSERT INTO `ddk_log` VALUES (45, 'DDK_APP_CONFIG', 'CFG1614178771999547392', 'UPDATE', '{\"appConfigName\":\"test.float\",\"isDelete\":1,\"updateTime\":1673685612117,\"env\":\"test\",\"appConfigValue\":\"1223\",\"uuid\":\"CFG1614178771999547392\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685184000,\"id\":7,\"desc\":\"test.float\"}', '2023-01-14 16:40:12', 'test');
INSERT INTO `ddk_log` VALUES (46, 'DDK_APP_CONFIG', 'CFG1614178771999547392', 'UPDATE', '{\"appConfigName\":\"test.float\",\"isDelete\":0,\"updateTime\":1673686056085,\"env\":\"test\",\"appConfigValue\":\"1223\",\"uuid\":\"CFG1614178771999547392\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685184000,\"id\":7,\"desc\":\"test.float\"}', '2023-01-14 16:47:36', 'test');
INSERT INTO `ddk_log` VALUES (47, 'DDK_APP_CONFIG', 'CFG1614179009921441792', 'UPDATE', '{\"appConfigName\":\"test.byte\",\"isDelete\":0,\"updateTime\":1673686140300,\"env\":\"test\",\"appConfigValue\":\"10\",\"uuid\":\"CFG1614179009921441792\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685241000,\"id\":11,\"desc\":\"test.byte\"}', '2023-01-14 16:49:00', 'test');
INSERT INTO `ddk_log` VALUES (48, 'DDK_APP_CONFIG', 'CFG1614179083455979520', 'UPDATE', '{\"appConfigName\":\"test.bigDecimal\",\"isDelete\":0,\"updateTime\":1673686295620,\"env\":\"test\",\"appConfigValue\":\"11212200.100001111111111\",\"uuid\":\"CFG1614179083455979520\",\"appConfigType\":\"DEFAULT_SPRING\",\"appUuid\":\"CFG1611919771829014528\",\"createTime\":1673685258000,\"id\":12,\"desc\":\"test.bigDecimal\"}', '2023-01-14 16:51:36', 'test');
COMMIT;

-- ----------------------------
-- Table structure for ddk_notice_config
-- ----------------------------
DROP TABLE IF EXISTS `ddk_notice_config`;
CREATE TABLE `ddk_notice_config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  `notice_config_name` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '通知配置名称',
  `notice_config_resource` varchar(200) COLLATE utf8mb4_bin NOT NULL COMMENT '通知配置资源',
  `notice_value` varchar(200) COLLATE utf8mb4_bin NOT NULL COMMENT '测试配置值，因为可能通过配置值进行特殊处理',
  `app_uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '项目关联uuid，多个则会有多条记录',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_notice_config
-- ----------------------------
BEGIN;
INSERT INTO `ddk_notice_config` VALUES (4, 'CFG1612114565242556416', '订单支付超时时间基础配置，单位(分钟)', '2023-01-08 15:50:39', '2023-01-14 15:54:47', 0, 'test', '订单支付超时时间基础配置', 'or.trade.core.timeout#limit', '301', 'CFG1611919771829014528');
COMMIT;

-- ----------------------------
-- Table structure for ddk_register
-- ----------------------------
DROP TABLE IF EXISTS `ddk_register`;
CREATE TABLE `ddk_register` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  `client_address` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT 'client 服务ip地址',
  `client_port` int(11) NOT NULL COMMENT 'client 服务端口',
  `app_id` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT 'client 服务服务id',
  `register_time` datetime NOT NULL COMMENT '服务注册时间',
  `last_update_time` datetime NOT NULL COMMENT '上次注册更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_register
-- ----------------------------
BEGIN;
INSERT INTO `ddk_register` VALUES (3, 'REG1612469415700598784', '10.179.31.236', '2023-01-09 15:20:42', '2023-01-09 23:34:49', 1, 'test', '10.179.31.236', 12000, 'or.huadong.java.order.core', '2023-01-09 15:20:42', '2023-01-14 17:22:48');
INSERT INTO `ddk_register` VALUES (4, 'REG1614142958960926720', '10.179.38.7', '2023-01-14 14:10:45', '2023-01-14 15:37:41', 1, 'test', '10.179.38.7', 12000, 'or.huadong.java.order.core', '2023-01-14 14:10:45', '2023-01-14 17:22:48');
INSERT INTO `ddk_register` VALUES (5, 'REG1614165665848238080', '10.179.38.7', '2023-01-14 15:40:59', '2023-01-14 17:23:02', 1, 'test', '10.179.38.7', 12000, 'or.huadong.java.trade.core', '2023-01-14 15:40:59', '2023-01-14 17:23:02');
COMMIT;

-- ----------------------------
-- Table structure for ddk_team
-- ----------------------------
DROP TABLE IF EXISTS `ddk_team`;
CREATE TABLE `ddk_team` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '雪花算法随机UUID',
  `desc` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '功能描述',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `is_delete` int(11) NOT NULL COMMENT '状态 1无效，0有效',
  `env` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT '环境',
  `team_id` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '项目组id，唯一',
  `team_name` varchar(80) COLLATE utf8mb4_bin NOT NULL COMMENT '项目组名字',
  `group_uuid` varchar(40) COLLATE utf8mb4_bin NOT NULL COMMENT '事业群关联uuid',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of ddk_team
-- ----------------------------
BEGIN;
INSERT INTO `ddk_team` VALUES (1, 'CFG1611909603812188160', '国内电商华东研究部订单组', '2023-01-08 02:16:12', '2023-01-08 02:21:58', 0, 'test', 'alpha-order', '国内电商华东研究部订单组', 'CFG1611737030814208000');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
